public class Main {
    public static void main(String[] args) {
        Dog dog=new Dog();
        dog.name="小黑";
        dog.color="黑色";
        dog.bark();
        dog.wag();
        dog.date(2013,6,12);
        dog.printDate();
    }
}